package systeme;


import ihm.Deplacement;

import java.util.Comparator;

public class DepEtageInfCompartor implements Comparator<Deplacement>{

	@Override
	public int compare(Deplacement pDep1, Deplacement pDep2) {
		int retour = 0;
		if (pDep1.getEtage() > pDep2.getEtage()) {
			retour = 1;
		} else {
			retour =-1;
		}
		return retour;
	}

}
